All Questions
1 question
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
30votes
4answers
14kviews
Using #ifdef to switch between different types of behavior during development
Is it a good practice to use #ifdef during development to switch between different types of behavior? For example, I want to change the behavior of existing code, I have several ideas how to change ...
- The Overflow Blog
- Featured on Meta
Related Tags
Hot Network Questions
- Doubt regarding center of mass of a cone
- How to convincingly erase a population's memory?
- How to handle teammates pressuring me (even publicly) to redo my work after I already explained my reasoning?
- My work is being read but not used — what can I improve?
- What does trespass mean here?
- What is the spell attack modifier for this casterless Bigby's Hand spell from the Waterdeep: Dungeon of the Mad Mage published adventure?
- Why isn't a misfiled attorney-client memo fair game for use in a trial?
- What is the fastest playable race?
- If we can get intelligence from non intelligence, why can’t we get consciousness from non consciousness?
- Inference based on Sample and population
- Why would the forthcoming papal election still be valid if more than 120 Cardinals vote in it, against Universi Dominici Gregis paragraph 33?
- Contrasted can vs. can't with equal emphasis in American English pronounciation
- Could charging a judge with a felony to get them suspended be "scaled up" indiscriminately by the US Department of Justice?
- In light cone, why is it a cone and not a sphere, given that light travels in all directions in space-time? Is it a projection of slice of 4D sphere?
- What is the drawback of always generating passphrases for the user?
- Why was the value of modulus (q) chosen small in KYBER and large in DILITHIUM?
- Does Exodus 31:16 teach that the old covenant is eternal?
- Mechanism of cyclopropane ring formation from malonate ester
- Can data from a factory reset iPhone 14 be recovered if no passcode was set?
- What is this orange button on my antique Black & Decker drill?
- Can the metric signature differ in different regions of spacetime?
- How humid does it have to be for flamethrowers to start experiencing problems?
- Is there an epistemic difference between "unintuitive" and "counterintuitive" samples/cases?
- I worry that my advice to female academics will sound like platitudes